- unless flash.keys.empty?
  %ul#flash-messages
    - flash.each do |type, message|
      %li{:class => type}= message